package cn.yunyichina.provider.message.alipay.entity;


/**
 * 支付宝图文消息对象
 * @author adriftor
 *
 */
public class ImageMessage {
	/**
	 * 图片链接上提示文字
	 */
	private String actionName = "立即查看" ;
	/**
	 * 描述
	 */
	private String desc;
	/**
	 * 图片src
	 */
	private String imageUrl;
	
	/**
	 * 标题
	 */
	private String title;
	
	/**
	 * 点击后转向的URL
	 */
	private String url;
	
	public ImageMessage() {
		
	}
	/**
	 * 
	 * @param actionName 图片链接上提示文字
	 * @param title 标题
	 * @param imageUrl 图片SRC
	 * @param desc 描述
	 * @param url 点击图片后转向的URL
	 */
	public ImageMessage(String actionName,String desc,String imageUrl,String title,String url) {
		this.actionName = actionName;
		this.desc = desc;
		this.imageUrl = imageUrl;
		this.title = title;
		this.url = url;
	}
	
	/**
	 * 
	 * @param title 标题
	 * @param imageUrl 图片SRC
	 * @param desc 描述
	 * @param url 点击图片后转向的URL
	 */
	public ImageMessage(String desc,String imageUrl,String title,String url) {
		this.desc = desc;
		this.imageUrl = imageUrl;
		this.title = title;
		this.url = url;
	}
	public String getActionName() {
		return actionName;
	}
	public void setActionName(String actionName) {
		this.actionName = actionName;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public String getImageUrl() {
		return imageUrl;
	}
	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	
	
}